import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { UsersComponent } from './users.component';
import { HomeRoutingModule } from './users.router';
import { FormsModule } from '@angular/forms';

import { HomeComponent } from './home/home.component';
import { ActivateComponent } from './activate/activate.component';
import { ForgetComponent } from './forget/forget.component';
import { IndexComponent } from './index/index.component';
import { MessageComponent } from './message/message.component';
import { RegComponent } from './reg/reg.component';
import { SetComponent } from './set/set.component';

import { AuthGuard } from '../../services/auth.service';
import { LoginService} from '../../services/login.service';

@NgModule({
  declarations: [
    UsersComponent,
    HomeComponent,
    ActivateComponent,
    ForgetComponent,
    IndexComponent,
    MessageComponent,
    RegComponent,
    SetComponent,
  ],
  providers: [
    LoginService,
    AuthGuard
  ],
  imports: [
    CommonModule,
    FormsModule,
    HomeRoutingModule
  ]
})
export class UsersModule { }
